/* 1.不定参数,等价py的*args */
function multiArgs(...args) {
    for (let v of args) {
        console.log(v);
    }
}


/* 2.Lambda */
function lambdaTest() {
    let myFunc1 = v => v * 2;
    console.log(myFunc1(2));
    let myFunc2 = () => 5;
    console.log(myFunc2());
}
